import request from '@/utils/request-one'

export function getListd(params) {  
    return request({
        url: 'dai/query/opennotice',
        method: 'GET',
        params,
    })
}
export function deleteList(data){
    return request({
        url: 'dai/remove/opennotice',
        method: 'POST',
        data
    })
}

export function addGong(data){
    return request({
        url: 'dai/add/opennotice',
        method: 'POST',
        data
    })
}

export function editgong(data,id){
    return request({
        url: 'dai/update/opennotice?id=' + id,
        method: 'POST',
        data
    })
}